/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import { Model } from '@api';

/**
 * 列表列定义Dto
 * @author maoxiaodong
 */
export interface SimpleListField extends Model<string> {
  /**
   * 代码
   */
  code?: string;

  /**
   * 列名
   */
  column?: string;

  /**
   * 名称
   */
  name?: string;

  /**
   * 默认值
   */
  value?: string;

  /**
   * 单击事件
   */
  click?: string;

  /**
   * 值类型
   */
  type?: string;

  /**
   * 宽度
   */
  width?: string;

  /**
   * 类样式名
   */
  className?: string;

  /**
   * 合并列数
   */
  colSpan?: string;

  /**
   * 权限值
   */
  acl?: string;

  /**
   * 列表ID
   */
  listId?: string;

  /**
   * 操作ID
   */
  actionId?: string;

  /**
   * 国际化代码
   */
  i18n?: string;

  /**
   * 关键字搜索
   */
  keywordFlag?: string;

  /**
   * 固定
   */
  fixed?: string;

  /**
   * 是否排序
   */
  sortFlag?: string;

  /**
   * 格式化
   */
  format?: string;

  /**
   * 格式
   */
  pattern?: string;
}
